<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:83:"D:\wamp\www\daiju\s78_daiju\tp5\public/../application/index\view\echarts\index.html";i:1539853156;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>公司成员素质修养</title>
    <script src="/static/index/js/echarts.min.js"></script>
    <script src="/static/index/js/echarts.js"></script>
</head>
<body>
    <!-- 为ECharts准备一个具备大小（宽高）的Dom -->
    <div id="main" style="width: 600px;height:400px;"></div>
    <script type="text/javascript">
        // 基于准备好的dom，初始化echarts实例
        var myChart = echarts.init(document.getElementById('main'));

        // 指定图表的配置项和数据
        var option = {
            title: {
                text: '呆橘组成员素质'
            },
            tooltip: {},
            legend: {
                data:['修养值']
            },
            xAxis: {
                data: ["梅芳芳","李有朋","朱宇航","李永杰","ew",'ew','sad','asd','asd']
            },
            yAxis: {},
            series: [{
                name: '修养值',
                type: 'bar',
                data: [5, 40, 4, 4,5, 40, 4, 4,3]
            }]
        };
        // 使用刚指定的配置项和数据显示图表。
        myChart.setOption(option);
    </script>
</body>
</html>